﻿//-------------------------------------------------------------------------------------------------------------------------------------
// Copyright (C) 2005 greatelsoft.com All Rights Reserved
//-------------------------------------------------------------------------------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.Text;
using Pub.Class;

namespace GTS.MiniBox.Entity {
    /// <summary>
    /// IVR通道实体类
    /// 
    /// 修改纪录
    ///     2012-09-25 版本：1.0 系统自动创建此类
    /// 
    /// </summary>
    [Serializable]
    [EntityInfo("IVR通道")]
    public partial class IVRChannelInfo {
        /// <summary>
        /// IVR通道
        /// </summary>
        public static readonly string _ = "IVRChannelInfo";

        /// <summary>
        /// IVR通道编号
        /// </summary>
        public static readonly string _ChannelID = "IVRChannelInfo.ChannelID";
        private int? channelID = null;
        /// <summary>
        /// IVR通道编号
        /// </summary>
        [EntityInfo("IVR通道编号")]
        public new int? ChannelID { get { return channelID; } set { channelID = value; } }

        /// <summary>
        /// 通道名称
        /// </summary>
        public static readonly string _ChannelName = "IVRChannelInfo.ChannelName";
        private string channelName = null;
        /// <summary>
        /// 通道名称
        /// </summary>
        [EntityInfo("通道名称")]
        public new string ChannelName { get { return channelName; } set { channelName = value; } }

        /// <summary>
        /// 运营商编号
        /// </summary>
        public static readonly string _CstCode = "IVRChannelInfo.CstCode";
        private int? cstCode = null;
        /// <summary>
        /// 运营商编号
        /// </summary>
        [EntityInfo("运营商编号")]
        public new int? CstCode { get { return cstCode; } set { cstCode = value; } }

        /// <summary>
        /// 指令长号码
        /// </summary>
        public static readonly string _LongPhone = "IVRChannelInfo.LongPhone";
        private string longPhone = null;
        /// <summary>
        /// 指令长号码
        /// </summary>
        [EntityInfo("指令长号码")]
        public new string LongPhone { get { return longPhone; } set { longPhone = value; } }

        /// <summary>
        /// 价格(角)
        /// </summary>
        public static readonly string _Price = "IVRChannelInfo.Price";
        private int? price = null;
        /// <summary>
        /// 价格(角)
        /// </summary>
        [EntityInfo("价格(角)")]
        public new int? Price { get { return price; } set { price = value; } }

        /// <summary>
        /// SPID
        /// </summary>
        public static readonly string _SPCode = "IVRChannelInfo.SPCode";
        private string sPCode = null;
        /// <summary>
        /// SPID
        /// </summary>
        [EntityInfo("SPID")]
        public new string SPCode { get { return sPCode; } set { sPCode = value; } }

        /// <summary>
        /// 每天扣费起始时间
        /// </summary>
        public static readonly string _BeginTime = "IVRChannelInfo.BeginTime";
        private int? beginTime = null;
        /// <summary>
        /// 每天扣费起始时间
        /// </summary>
        [EntityInfo("每天扣费起始时间")]
        public new int? BeginTime { get { return beginTime; } set { beginTime = value; } }

        /// <summary>
        /// 每天扣费结束时间
        /// </summary>
        public static readonly string _EndTime = "IVRChannelInfo.EndTime";
        private int? endTime = null;
        /// <summary>
        /// 每天扣费结束时间
        /// </summary>
        [EntityInfo("每天扣费结束时间")]
        public new int? EndTime { get { return endTime; } set { endTime = value; } }

        /// <summary>
        /// 拨打时间上限（秒）
        /// </summary>
        public static readonly string _UpTimeBySingle = "IVRChannelInfo.UpTimeBySingle";
        private int? upTimeBySingle = null;
        /// <summary>
        /// 拨打时间上限（秒）
        /// </summary>
        [EntityInfo("拨打时间上限（秒）")]
        public new int? UpTimeBySingle { get { return upTimeBySingle; } set { upTimeBySingle = value; } }

        /// <summary>
        /// 拨打时间下限（秒）
        /// </summary>
        public static readonly string _DownTimeBySingle = "IVRChannelInfo.DownTimeBySingle";
        private int? downTimeBySingle = null;
        /// <summary>
        /// 拨打时间下限（秒）
        /// </summary>
        [EntityInfo("拨打时间下限（秒）")]
        public new int? DownTimeBySingle { get { return downTimeBySingle; } set { downTimeBySingle = value; } }

        /// <summary>
        /// 挂断率
        /// </summary>
        public static readonly string _HangUpRate = "IVRChannelInfo.HangUpRate";
        private int? hangUpRate = null;
        /// <summary>
        /// 挂断率
        /// </summary>
        [EntityInfo("挂断率")]
        public new int? HangUpRate { get { return hangUpRate; } set { hangUpRate = value; } }

        /// <summary>
        /// 月拨打次数限制
        /// </summary>
        public static readonly string _NumByMonth = "IVRChannelInfo.NumByMonth";
        private int? numByMonth = null;
        /// <summary>
        /// 月拨打次数限制
        /// </summary>
        [EntityInfo("月拨打次数限制")]
        public new int? NumByMonth { get { return numByMonth; } set { numByMonth = value; } }

        /// <summary>
        /// 月拨打时间（分钟）限制
        /// </summary>
        public static readonly string _TimeByMonth = "IVRChannelInfo.TimeByMonth";
        private int? timeByMonth = null;
        /// <summary>
        /// 月拨打时间（分钟）限制
        /// </summary>
        [EntityInfo("月拨打时间（分钟）限制")]
        public new int? TimeByMonth { get { return timeByMonth; } set { timeByMonth = value; } }

        /// <summary>
        /// 验证键值（用逗号隔开）
        /// </summary>
        public static readonly string _ValidateValue = "IVRChannelInfo.ValidateValue";
        private string validateValue = null;
        /// <summary>
        /// 验证键值（用逗号隔开）
        /// </summary>
        [EntityInfo("验证键值（用逗号隔开）")]
        public new string ValidateValue { get { return validateValue; } set { validateValue = value; } }

        /// <summary>
        /// 验证间隔时间（用逗号隔开）
        /// </summary>
        public static readonly string _ValidateTime = "IVRChannelInfo.ValidateTime";
        private string validateTime = null;
        /// <summary>
        /// 验证间隔时间（用逗号隔开）
        /// </summary>
        [EntityInfo("验证间隔时间（用逗号隔开）")]
        public new string ValidateTime { get { return validateTime; } set { validateTime = value; } }

        /// <summary>
        /// 单用户MO日限(角)
        /// </summary>
        public static readonly string _UserDayMOMoney = "IVRChannelInfo.UserDayMOMoney";
        private int? userDayMOMoney = null;
        /// <summary>
        /// 单用户MO日限(角)
        /// </summary>
        [EntityInfo("单用户MO日限(角)")]
        public new int? UserDayMOMoney { get { return userDayMOMoney; } set { userDayMOMoney = value; } }

        /// <summary>
        /// 单用户MO月限(角)
        /// </summary>
        public static readonly string _UserMonthMOMoney = "IVRChannelInfo.UserMonthMOMoney";
        private int? userMonthMOMoney = null;
        /// <summary>
        /// 单用户MO月限(角)
        /// </summary>
        [EntityInfo("单用户MO月限(角)")]
        public new int? UserMonthMOMoney { get { return userMonthMOMoney; } set { userMonthMOMoney = value; } }

        /// <summary>
        /// 单用户MR月限(角)
        /// </summary>
        public static readonly string _UserMonthMRMoney = "IVRChannelInfo.UserMonthMRMoney";
        private int? userMonthMRMoney = null;
        /// <summary>
        /// 单用户MR月限(角)
        /// </summary>
        [EntityInfo("单用户MR月限(角)")]
        public new int? UserMonthMRMoney { get { return userMonthMRMoney; } set { userMonthMRMoney = value; } }

        /// <summary>
        /// 通道日MO总限量(角)
        /// </summary>
        public static readonly string _DayMOMoney = "IVRChannelInfo.DayMOMoney";
        private int? dayMOMoney = null;
        /// <summary>
        /// 通道日MO总限量(角)
        /// </summary>
        [EntityInfo("通道日MO总限量(角)")]
        public new int? DayMOMoney { get { return dayMOMoney; } set { dayMOMoney = value; } }

        /// <summary>
        /// 通道日MR总限量(角)
        /// </summary>
        public static readonly string _DayMRMoney = "IVRChannelInfo.DayMRMoney";
        private int? dayMRMoney = null;
        /// <summary>
        /// 通道日MR总限量(角)
        /// </summary>
        [EntityInfo("通道日MR总限量(角)")]
        public new int? DayMRMoney { get { return dayMRMoney; } set { dayMRMoney = value; } }

        /// <summary>
        /// Chinese关键字
        /// </summary>
        public static readonly string _Chinese = "IVRChannelInfo.Chinese";
        private string chinese = null;
        /// <summary>
        /// Chinese关键字
        /// </summary>
        [EntityInfo("Chinese关键字")]
        public new string Chinese { get { return chinese; } set { chinese = value; } }

        /// <summary>
        /// English关键字
        /// </summary>
        public static readonly string _English = "IVRChannelInfo.English";
        private string english = null;
        /// <summary>
        /// English关键字
        /// </summary>
        [EntityInfo("English关键字")]
        public new string English { get { return english; } set { english = value; } }

        /// <summary>
        /// 号码
        /// </summary>
        public static readonly string _Phone = "IVRChannelInfo.Phone";
        private string phone = null;
        /// <summary>
        /// 号码
        /// </summary>
        [EntityInfo("号码")]
        public new string Phone { get { return phone; } set { phone = value; } }

        /// <summary>
        /// 使用区域
        /// </summary>
        public static readonly string _UsePrivence = "IVRChannelInfo.UsePrivence";
        private string usePrivence = null;
        /// <summary>
        /// 使用区域
        /// </summary>
        [EntityInfo("使用区域")]
        public new string UsePrivence { get { return usePrivence; } set { usePrivence = value; } }

        /// <summary>
        /// 状态 0可用 1禁用  2当天禁用
        /// </summary>
        public static readonly string _Status = "IVRChannelInfo.Status";
        private int? status = null;
        /// <summary>
        /// 状态 0可用 1禁用  2当天禁用
        /// </summary>
        [EntityInfo("状态 0可用 1禁用  2当天禁用")]
        public new int? Status { get { return status; } set { status = value; } }

        /// <summary>
        /// 挂断时间最小值
        /// </summary>
        public static readonly string _HangUpTime = "IVRChannelInfo.HangUpTime";
        private int? hangUpTime = null;
        /// <summary>
        /// 挂断时间最小值
        /// </summary>
        [EntityInfo("挂断时间最小值")]
        public new int? HangUpTime { get { return hangUpTime; } set { hangUpTime = value; } }

        /// <summary>
        /// 挂断时间最大值
        /// </summary>
        public static readonly string _HangDownTime = "IVRChannelInfo.HangDownTime";
        private int? hangDownTime = null;
        /// <summary>
        /// 挂断时间最大值
        /// </summary>
        [EntityInfo("挂断时间最大值")]
        public new int? HangDownTime { get { return hangDownTime; } set { hangDownTime = value; } }

        /// <summary>
        /// 接入时间
        /// </summary>
        public static readonly string _CreateTime = "IVRChannelInfo.CreateTime";
        private DateTime? createTime = null;
        /// <summary>
        /// 接入时间
        /// </summary>
        [EntityInfo("接入时间")]
        public new DateTime? CreateTime { get { return createTime; } set { createTime = value; } }

        /// <summary>
        /// 结算单价
        /// </summary>
        public static readonly string _Settlement = "IVRChannelInfo.Settlement";
        private decimal? settlement = null;
        /// <summary>
        /// 结算单价
        /// </summary>
        [EntityInfo("结算单价")]
        public new decimal? Settlement { get { return settlement; } set { settlement = value; } }

        /// <summary>
        /// 备注
        /// </summary>
        public static readonly string _Remark = "IVRChannelInfo.Remark";
        private string remark = null;
        /// <summary>
        /// 备注
        /// </summary>
        [EntityInfo("备注")]
        public new string Remark { get { return remark; } set { remark = value; } }
    }
}



